package org.bim.view.drag.design.controller;

import org.bim.view.drag.design.constant.CommonConstant;
import org.bim.view.drag.design.model.HttpResult;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class IndexController {
    @GetMapping("health-check")
    public HttpResult<String> healthCheck(){
        return HttpResult.success("ok");
    }
    @GetMapping("/login")
    public String loginPage(){
        return CommonConstant.INDEX_PAGE;
    }
    @GetMapping("/register")
    public String registerPage(){
        return CommonConstant.INDEX_PAGE;
    }
}
